const menuList: any = [
    {
        title: "权限管理",
        hidden: false,
        name: "Permission",
        icon: "TurnOff",
        active: false,
        path:"/permission",
        meunType:0,
        redirect: 'RouterAdmin',
        children: [ {
            title: "路由管理",
            path: "/routerAdmin",
            component: "routerAdmin",
            name: "RouterAdmin",
            hidden: false,
            icon: "Paperclip",
            active: false,
            cache:false,
            meunType:2,
        },{
            title: "角色管理",
            path: "/avatarAdmin",
            component: "avatarAdmin",
            name: "AvatarAdmin",
            hidden: false,
            icon: "Avatar",
            active: false,
            cache:false,
            meunType:2,
        }]
    },
    {
        title: "用户管理",
        path: "/user",
        meunType:1,
        component: "user",
        hidden: false,
        name: "User",
        icon: "User",
        active: false,
        cache:false
    },
    {
        title: "审批进度",
        path: "/examine",
        meunType:1,
        component: "examine",
        hidden: false,
        name: "Examine",
        icon: "User",
        active: false,
        cache:false
    },
    {
        title: "编辑投稿",
        path: "/contribute",
        meunType:1,
        component: "contribute",
        hidden: false,
        name: "Contribute",
        icon: "User",
        active: false,
        cache:false
    },
    {
        title: "浏览阅读",
        path: "/readArea",
        meunType:1,
        component: "readArea",
        hidden: false,
        name: "ReadArea",
        icon: "User",
        active: false,
        cache:false
    },
]
const meunApi = [{
    url: "/getMeunList",
    type: "get",
    response: (config: any) => {
        return {
            code: 200,
            data: menuList,
            msg: "获取菜单成功"
        }
    }
}]
export default meunApi